<template>
  <div @click="registerClick">
    <van-button
      type="primary"
      class="btn"
      block
    >{{btn}}</van-button>
  </div>
</template>
<script>
export default {
  props: ['btn'],
  data: () => ({}),
  methods: {
    registerClick() {
      this.$emit('registerClick')
    }
  }
}
</script>
<style lang="less" scoped>
.btn {
  border-radius: 20px;
  margin: 10px 0px;
}
</style>